
#include "CVect3d.h"

CVect3d::CVect3d()
{
}

CVect3d::CVect3d( double x, double y, double z )
{
    set( x, y, z);
}

CVect3d::~CVect3d()
{
}

double CVect3d::getX() const
{
    return x;
}

double CVect3d::getY() const
{
    return y;
}

double CVect3d::getZ() const
{
    return z;
}

void CVect3d::setX( double x )
{
    this->x = x;
}

void CVect3d::CVect3d::setY( double y )
{
    this->y = y;
}

void CVect3d::setZ( double z )
{
    this->z = z;
}

void CVect3d::set( double x, double y, double z )
{
    this->x = x;
    this->y = y;
    this->z = z;
}
